package org.de.maeyer.sampler;

import java.util.List;

import org.de.maeyer.statistic.Category;

/**
 * @author Peter De Maeyer
 */
public class ObjectHistogram {

	private final int categoryCapacity;

	private final List<Category> categories;

	private final int[] modeCategoryIndexes;

	public ObjectHistogram(int categoryCapacity, List<Category> categories, int[] modeCategoryIndexes) {
		this.categoryCapacity = categoryCapacity;
		this.categories = categories;
		this.modeCategoryIndexes = modeCategoryIndexes;
	}

	public List<Category> getCategories() {
		return categories;
	}

	public int getCategoryCapacity() {
		return categoryCapacity;
	}

	public int[] getModeCategoryIndexes() {
		return modeCategoryIndexes;
	}
}
